package router

import (
	v1 "gin-vue-admin/api/v1"

	"github.com/gin-gonic/gin"
)

func InitCustomProcessBaseMachineRelRouter(Router *gin.RouterGroup) {
	CustomProcessBaseMachineRelRouter := Router.Group("customProcessBaseMachineRel")
	// CustomProcessBaseMachineRelRouter := Router.Group("customProcessBaseMachineRel").Use(middleware.JWTAuth()).Use(middleware.CasbinHandler()).Use(middleware.OperationRecord())
	{
		CustomProcessBaseMachineRelRouter.POST("createCustomProcessBaseMachineRel", v1.CreateCustomProcessBaseMachineRel)             // 新建CustomProcessBaseMachineRel
		CustomProcessBaseMachineRelRouter.DELETE("deleteCustomProcessBaseMachineRel", v1.DeleteCustomProcessBaseMachineRel)           // 删除CustomProcessBaseMachineRel
		CustomProcessBaseMachineRelRouter.DELETE("deleteCustomProcessBaseMachineRelByIds", v1.DeleteCustomProcessBaseMachineRelByIds) // 批量删除CustomProcessBaseMachineRel
		CustomProcessBaseMachineRelRouter.PUT("updateCustomProcessBaseMachineRel", v1.UpdateCustomProcessBaseMachineRel)              // 更新CustomProcessBaseMachineRel
		CustomProcessBaseMachineRelRouter.GET("findCustomProcessBaseMachineRel", v1.FindCustomProcessBaseMachineRel)                  // 根据ID获取CustomProcessBaseMachineRel
		CustomProcessBaseMachineRelRouter.GET("getCustomProcessBaseMachineRelList", v1.GetCustomProcessBaseMachineRelList)            // 获取CustomProcessBaseMachineRel列表
	}
}
